package com.cy.pj.sys.service.impl;

import com.cy.pj.sys.dao.SysinformationDao;
import com.cy.pj.sys.pojo.Sysinformation;
import com.cy.pj.sys.service.SysinformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class SysinformationServiceImpl implements SysinformationService {
    @Autowired
    private SysinformationDao sysinformationDao;



    @Override
    public Sysinformation findById(Integer id) {
        return sysinformationDao.findById(id);
    }

    @Override
    public int insertinformation(Sysinformation sysinformation) {
        return sysinformationDao.insertinformation(sysinformation);
    }

    @Override
    public int updateinformation(Sysinformation sysinformation) {
        return sysinformationDao.updateinformation(sysinformation);
    }

    @Override
    public int deleteById(Integer id) {
        return sysinformationDao.deleteById(id);
    }
}
